package com.whmskj.xjlhsc.jitapi.mapper;

import com.whmskj.xjlhsc.jitapi.dto.SpareDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SparePartsMapper {
    List<SpareDto> listBySpareParts(@Param("spareType") String spareType,
                                    @Param("spareName") String spareName,
                                    @Param("deviceId")Integer deviceId);

    List<SpareDto> listSparePartsByIds(@Param("ids") List<Integer> ids);
}
